#!/bin/bash

source /opt/common/common.sh

echo "==项目口令设置程序=="

# 设置安全秘钥（注意非绝对安全，主要是混淆一下逻辑，对shell高手无效）
input_and_set_spwd      "安全"
# 设置服务器自动登录口令秘钥
# 第四个参数是提示信息　自己修改
input_and_set_site_spwd "远程" "ALIAS1"   "USER1" "192.168.1.1(服务器１/路由１)"
input_and_set_site_spwd "远程" "ALIAS2"   "USER1" "192.168.8.1(服务器２)"
input_and_set_site_spwd "远程" "ALIAS3"   "USER1" "192.168.18.1(路由２)"
input_and_set_site_spwd "远程" "ALIAS4"  　"USER1" "192.168.188.1(服务器３)"

